package com.elric.mall.mapper;

import com.elric.mall.model.ZgConstructionPeriod;
import com.elric.mall.model.ZgConstructionPeriodExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ZgConstructionPeriodMapper {
    long countByExample(ZgConstructionPeriodExample example);

    int deleteByExample(ZgConstructionPeriodExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZgConstructionPeriod record);

    int insertSelective(ZgConstructionPeriod record);

    List<ZgConstructionPeriod> selectByExample(ZgConstructionPeriodExample example);

    ZgConstructionPeriod selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZgConstructionPeriod record, @Param("example") ZgConstructionPeriodExample example);

    int updateByExample(@Param("record") ZgConstructionPeriod record, @Param("example") ZgConstructionPeriodExample example);

    int updateByPrimaryKeySelective(ZgConstructionPeriod record);

    int updateByPrimaryKey(ZgConstructionPeriod record);
}